﻿using LdtDataEngin.ModuleDetail.BaseModule;
using LdtJudge.DataEngine.DataBaseStores;
using System;
using System.Collections.Generic;
using System.Text;

namespace LdtDataEngin.ModuleDetail.ParagraphAnalysis
{
    public class ParagraphDLL : AssermBase
    {
        public ParagraphDLL (DataContext context)
        {
            dataContext = context;
        }

        /// <summary>
        /// dll动态执行
        /// </summary>
        /// <param name="dataLayerStores">动态数据层</param>
        /// <param name="path">dll路径</param>
        /// <param name="className">dll类名</param>
        /// <returns></returns>
        public void Extract(string path, string className)
        {
            dataContext.InteractiveShow.LogShow(className + "=动态执行dll：" + path);
            DynamicLoadingDLL(path, className);
        }
    }
}
